package com.xiangxiangjd.kj.papersstar.controller.api;

import com.xiangxiangjd.kj.papersstar.bean.UserAnswer;
import com.xiangxiangjd.kj.papersstar.controller.BaseController;
import com.xiangxiangjd.kj.papersstar.controller.model.ApiResultModel;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 肖守凯
 * @since 2021-01-26
 */
@Controller
@RequestMapping("/api/userAnswer")
public class UserAnswerApi extends BaseController {




    /** 编辑UserAnswer
     * @param userAnswer  前端传进的参数
     * @return 返回统一信息
     */
    @RequestMapping(value = "admin/editUserAnswer")
    @ResponseBody
    public ApiResultModel editUserAnswer(UserAnswer userAnswer){
             return userAnswerService.editUserAnswer(userAnswer);
    }




}
